import Vue from 'vue'
import VueRouter from "vue-router";
Vue.config.productionTip = false
Vue.use(VueRouter)
// 引入组件
import Hero from './List'
import Skin from './Skin'
import Players from './Players'

// 配置路由
let router = new VueRouter({
  routes: [{
    path: '/heroes' ,
    component: Hero
  },{
    path: '/skins',
    component: Skin
  },{
    path: '/players',
    component: Players
  }]
})
export default router
